<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id
 * @property int $role_id
 * @property int $user_id
 */
class UserRole extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'user_role';

    public bool $timestamps = false;

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['role_id', 'user_id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'role_id' => 'integer', 'user_id' => 'integer'];
}
